home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / CURVOL.HDR < prev    next >
Text File  |  1994-04-25  |  1KB  |  43 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _CurVol() --> cDriveLette
  8.  
  9. PARAMETERS:
  10.  
  11. None
  12.  
  13. SHORT:
  14.  
  15. Return the current DOS drive letter.
  16.  
  17. DESCRIPTION:
  18.  
  19. _CurVol() returns the drive letter of the currently logged drive.
  20.  
  21. NOTE:
  22.  
  23. This function uses an external DOS command to work.  You must
  24. therefore reserve enough conventional RAM to load COMMAND.COM in the Clipper
  25. R variable (SET CLIPPER= r045).  Different versions of DOS require
  26. different amounts of RAM to load the Command Interpreter.  Refer to your
  27. DOS Manual for information.
  28.  
  29. A good guide is the size of the COMMAND.COM of your version of DOS.
  30. This number is a little high, but should be safe for practical application.
  31.  
  32. You may also use the DOS command MEM /C (in DOS version 5.0 or higher) to
  33. see what the actual size of the Command Interpreter is for your version
  34. of DOS).
  35.  
  36. EXAMPLE:
  37.  
  38. Current_Drive = _CurVol()
  39.  
  40. Result: 'C' (assuming drive C: is the current drive)
  41.  
  42. ******************************************************************************/
  43.